<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/14
 * Time: 11:08
 */

namespace app\modules\api\models;

use yii;
use yii\db\Query;

class QuoteType
{
    private $table;

    public function __construct()
    {
        $this->table = yii::$app->db->tablePrefix . 'quote_type';
    }
    
    /**大客户报价属性
     * @return array
     */
    public function list()
    {
        $db = new Query();
        return $db->select('*')->from($this->table)->all();
    }
}